package com.example.shop.order;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "wx")
@Data
public class WXPayProperties {

    /**
     * 微信开发者模式的APP_ID
     */
    private String APP_ID;
    /**
     * 微信支付商户号
     */
    private String MCH_ID;
    /**
     * API密钥
     */
    private String KEY;
    /**
     * 证书路径
     */
    private String certDataPath;
}
